package com.mall.order.dto.entity;

    import com.baomidou.mybatisplus.extension.activerecord.Model;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.time.LocalDateTime;
    import com.baomidou.mybatisplus.annotation.TableField;
    import java.io.Serializable;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* <p>
    * 
    * </p>
*
* @author xrj
* @since 2022-05-02
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class TbOrderShipping extends Model<TbOrderShipping> {

    private static final long serialVersionUID = 1L;

            /**
            * 订单ID
            */
            @TableId("order_id")
    private String orderId;

            /**
            * 收货人全名
            */
        @TableField("receiver_name")
    private String receiverName;

            /**
            * 固定电话
            */
        @TableField("receiver_phone")
    private String receiverPhone;

            /**
            * 移动电话
            */
        @TableField("receiver_mobile")
    private String receiverMobile;

            /**
            * 省份
            */
        @TableField("receiver_state")
    private String receiverState;

            /**
            * 城市
            */
        @TableField("receiver_city")
    private String receiverCity;

            /**
            * 区/县
            */
        @TableField("receiver_district")
    private String receiverDistrict;

            /**
            * 收货地址，如：xx路xx号
            */
        @TableField("receiver_address")
    private String receiverAddress;

            /**
            * 邮政编码,如：310001
            */
        @TableField("receiver_zip")
    private String receiverZip;

        @TableField("created")
    private LocalDateTime created;

        @TableField("updated")
    private LocalDateTime updated;


    @Override
    protected Serializable pkVal() {
        return this.orderId;
    }

}
